package com.sihan.framework.etm.service.workTicket;

import com.framework.model.ApiResult;
import com.framework.model.PageResult;
import com.framework.mybatis.service.BaseService;
import com.sihan.framework.etm.dto.WorkListDTO;
import com.sihan.framework.etm.dto.WorkTicketDTO;
import com.sihan.framework.etm.entity.WorkTicket;

public interface WorkTicketService extends BaseService<WorkTicket, String> {

    ApiResult<PageResult<WorkTicket>> listWorkTicket(WorkListDTO dto);

    ApiResult<?> addWorkList(WorkTicketDTO dto);

    ApiResult<WorkTicketDTO> findByTicketCode(String ticketCode);

    WorkTicketDTO findByDevId(String devId);


    ApiResult<?> updateTowerCode(String towerCode,Integer state);
}
